//
//  MyScrollView.h
//  轮播图封装
//
//  Created by 刘文 on 16/5/4.
//  Copyright © 2016年 刘文. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIImageView+WebCache.h"

@interface MyScrollView : UIScrollView
- (void)setImages:(NSMutableArray *)names;
@property (nonatomic, strong) UIScrollView *scroll;
@property (nonatomic, assign)NSInteger page;
@property(nonatomic,strong)NSTimer *myTimer;

@property(nonatomic, copy)void(^toPhotoDetail)(NSInteger page);

@end
